<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?=$thiscatname?> - 商城返现 - <?=WEBTITLE?></title>
<meta name="keywords" content="<?=$thiscatname?>,商城列表,商城返现,B2C商城" />
<meta name="description" content="<?=WEBTITLE?><?=$thiscatname?>频道，通过本站前往B2C商城购物，均可享受额外返现。">
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/malllist.css">
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/common.css">
<script type="text/javascript" src="template/<?=MOBAN?>/js/jquery-1.3.2.min.js"></script>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/base64.js"></SCRIPT>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/function.js"></SCRIPT>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/taobao.js"></SCRIPT>
</head>
<body>
<?php
include("header.tpl.php");
?>
<?php
include("nav.tpl.php");
?>
<div id="weizhi">当前位置：<a href="index<?=$end?>">首页</a> > <a href="malllist<?=$end?>">商城返现</a> > <a href="malllist<?=$url_head_catid?><?=$catid?><?=$malllist_url_end?>"><?=$thiscatname?></a></div>
<div id="main">
	<div id="left">  
        <div class="mallcat">
          <div class="malltop"><b>选择分类</b></div>
          <div class="malldown">
            <div class="mallleft"><span class="gif">选择商家种类</span></div>
            <div class="mallright">
              <ul>
                <li> <a href="malllist<?=$end?>" <?php if($catid=='%'){ echo 'class="catcur"';}?>>全部商家</a></li>
				<?php foreach ($rsmalltype as $row){?>
                	<li><a href="malllist<?=$url_head_catid?><?=$row['typecode']?><?=$malllist_url_end?>" class="<?php if($catid==$row['typecode']){echo "catcur";}?>"><?=$row['typename']?></a></li>
				<?php }?>
            </ul>
            </div>
            <div style="clear:both"></div>
          </div>
        </div>
		<div class="malllist">
		<ul>
		<?php while ($row = mysql_fetch_array($rs)) {?>
			<li>
				<div class="malllogo"><a href="mall<?=$url_head_id?><?=$row['id']?><?=$url_end?>"><img src="upload/<?=$row['logo']?>" width="100" height="45" /></a></div>
				<div class="mallname"><?=$row['name']?></div>
				<div class="mallfan">最高返：<font style="font-weight:bold; color:#FF0000"><?=$row['fan']?></font></div>
			</li>
		<?php }?>
		</ul>
		</div>
		<div class="clear"></div>
		<div class="megas512" style="text-align:left; margin:15px 0"><?php 
				pageft($total,$pagesize,1,0,0,10,$page_mall_list);
				echo $pagenav;?>
		</div>
	</div>
    <div id="right" style="">
        <div class="3bu" style="width:205px; height:116px; margin-bottom:10px; background:url(template/<?=MOBAN?>/images/3bu.gif) #999"></div>
    	<div id="ad3"><?=AD(3)?></div>
    </div>
	<div class="clear"></div>
</div>
<?php include 'footer.tpl.php';?>
</body>
</html>